<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Palette Context Menu</title>
<link href="../../book.css" rel="stylesheet" type="text/css">
</head>

<body>
<h1>Palette Context Menu</h1>
<p>The <a href="palette.html">palette</a> may be customized by right-clicking 
anywhere in the palette to access the palette context menu.</p>
        <table border="0" cellpadding="5" cellspacing="0" width="1000">
          <tbody><tr>
            <td bgcolor="#e8e8d8" width="40">
			<h3>Icon</h3>
			</td>
            <td bgcolor="#e8e8d8" width="160">
			<h3>Menu Name</h3>
			</td>
            <td bgcolor="#e8e8d8" width="800">
      <h3>Description</h3>
			</td>
          </tr>
			<tr>
            <td align="center" bgcolor="#fcfcf4" valign="top" width="40">
			<img src="images/add_category.gif" alt="" width="16" height="16"></td>
            <td bgcolor="#fcfcf4" valign="top" width="160">
			<b>Add category...</b></td>
            <td bgcolor="#fcfcf4" valign="top" width="800">
      Create a new category to contain palette entries. The category may have a 
		name, a description and an initial state of <b>visible</b> and/or <b>
		opened by default</b>. The category can be inserted before any existing 
		category or inserted at the end of the list.<p>
		<img src="images/new_palette_category.png" border="0"></td>
          </tr>
			<tr>
            <td align="center" bgcolor="#f2f2e6" valign="top" width="40">
			<img src="images/add_component.gif" alt="" width="16" height="16"></td>
            <td bgcolor="#f2f2e6" valign="top" width="160">
			<b>Add component...</b></td>
            <td bgcolor="#f2f2e6" valign="top" width="800">
      Create a new palette entry representing a user-specified component. The entry 
		must have a name, class, and a description (visible as hover help in the palette). 
		If the widget defines its own icon in its bean info, that icon will be 
		used by default. The component may be initially <b>visible</b> or not and 
		may be added to any available category.<p>
		<img src="images/add_component_dialog.png" border="0"></td>
          </tr>
			<tr>
            <td align="center" bgcolor="#fcfcf4" valign="top" width="40">
			&nbsp;</td>
            <td bgcolor="#fcfcf4" valign="top" width="160">
			<b>Add static factory &gt;</b></td>
            <td bgcolor="#fcfcf4" valign="top" width="800">
      	<img src="images/add_factory_menu.png" border="0" align="left">Add 
		components from a static <a href="../features/factories.html">factory</a>. Single factory components may be added 
		or multiple factory components may be added at the same time. 
		<p>To add a single <a href="../features/factories.html">factory</a> item, give it a name, select the factory 
		class and method signature, and give it a description. The component may 
		be initially <b>visible</b> or not and may be added to any available 
		category.</p>
		<p>
		<img src="images/add_static_factory_dialog.png" border="0"></p>
		<p>To add a multiple <a href="../features/factories.html">factory</a> items at the same time, select the factory 
		class and method signatures. The component name and description will be 
		given default values. The components will be initially <b>visible</b> 
		and may be added to any available category.</p>
		<p>
		<img src="images/add_static_factories_dialog.png" border="0"></td>
          	</tr>
			<tr>
            <td align="center" bgcolor="#f2f2e6" valign="top" width="40">
			&nbsp;</td>
            <td bgcolor="#f2f2e6" valign="top" width="160">
			<b>Add instance factory &gt;</b></td>
            <td bgcolor="#f2f2e6" valign="top" width="800">
      	<img src="images/add_factory_menu.png" border="0" align="left">Add 
		components from an instance factory. Single factory components may be 
		added or multiple factory components may be added at the same time. 
		<p>To add a single factory item, give it a name, select the factory 
		class and method signature, and give it a description. The component may 
		be initially <b>visible</b> or not and may be added to any available 
		category.</p>
		<p>
		<img src="images/add_instance_factory_dialog.png" border="0"></p>
		<p>To add a multiple factory items at the same time, select the factory 
		class and method signatures. The component name and description will be 
		given default values. The components will be initially <b>visible</b> 
		and may be added to any available category.</p>
		<p>
		<img src="images/add_instance_factories_dialog.png" border="0"></td>
          	</tr>
			<tr>
            <td align="center" bgcolor="#fcfcf4" valign="top" width="40">
			<img src="images/import_jar.png" alt=""></td>
            <td bgcolor="#fcfcf4" valign="top" width="160">
			<b>Import Jar...</b></td>
            <td bgcolor="#fcfcf4" valign="top" width="800">
      Create multiple new palette entries using widget classes from a JAR file 
		(selected from the classpath, workspace or from disk). 
		Optionally create a new category to add the entries to. The category 
		name defaults to the name of the JAR.<p>
			<img border="0" src="images/palette_import_jar_archive_dialog.gif" align="top" width="416" height="344">&nbsp;
      		<img border="0" src="images/palette_workspace_jar_selection_dialog.png" width="314" height="340"><p>
			<i>If no widgets appear when you select a jar file, this is usually an 
		indication that the jar file does not provide a proper JavaBean manifest 
		readable by Sun's JavaBean manifest reader. Please contact the jar 
		provider for a correction. As long as the jar is on your project path, 
		you should be able to add individual widgets to the palette manually by 
		using the <b>Add Component...</b> command.</i><p>&nbsp;</td>
          	</tr>
			<tr>
            <td align="center" bgcolor="#F2F2E6" valign="top" width="40">
			&nbsp;</td>
            <td bgcolor="#F2F2E6" valign="top" width="160">
			<b>Edit...</b></td>
            <td bgcolor="#F2F2E6" valign="top" width="800">
      Edit the selected category or component.<p>
		<img src="images/edit_palette_category.png" border="0" width="394" height="249"></p>
		<p>
		<img src="images/edit_palette_component.png" border="0" width="415" height="235"></td>
          	</tr>
			<tr>
            <td align="center" bgcolor="#FCFCF4" valign="top" width="40">
			<img src="images/delete.gif" alt="" height="16" width="16"></td>
            <td bgcolor="#FCFCF4" valign="top" width="160">
			<b>Delete</b></td>
            <td bgcolor="#FCFCF4" valign="top" width="800">
            Delete the selected category or entry.</td>
          </tr>
			<tr>
            <td align="center" bgcolor="#F2F2E6" valign="top" width="40">
			&nbsp;</td>
            <td bgcolor="#F2F2E6" valign="top" width="160">
			<b>Restore default palette...</b></td>
            <td bgcolor="#F2F2E6" valign="top" width="800">
      Restore the palette to its default state (and custom widgets will be 
		removed).</td>
          	</tr>
			<tr>
            <td align="center" bgcolor="#FCFCF4" valign="top" width="40">
			<img src="images/manager.gif" alt="" width="16" height="16"></td>
            <td bgcolor="#FCFCF4" valign="top" width="160">
			<b>Palette manager...</b></td>
            <td bgcolor="#FCFCF4" valign="top" width="800">
            The <b><a href="palette_manager.html">Palette Manager</a></b> dialog allows the toolkit-specific palette to be 
			fully configured. Categories, and entries may be added, 
			edited and removed and JAR files imported. Items may be rearranged using the <b>Up</b> and
			<b>Down</b> buttons or via drag and drop. The <b>Collapse All</b> 
			and <b>Expand All</b> buttons show or hide all of the elements in 
			the list.</td>
          	</tr>
			<tr>
            <td align="center" bgcolor="#F2F2E6" valign="top" width="40">
			<img src="images/import_palette.gif" alt="" width="16" height="15"></td>
            <td bgcolor="#F2F2E6" valign="top" width="160">
			<b>Import palette...</b></td>
            <td bgcolor="#F2F2E6" valign="top" width="800">
      Import the current palette in XML format.<p>
		<img src="images/import_palette_dialog.png" border="0" width="428" height="326"></td>
          	</tr>
			<tr>
            <td align="center" bgcolor="#FCFCF4" valign="top" width="40">
			<img src="images/export_palette.gif" alt="" width="16" height="15"></td>
            <td bgcolor="#FCFCF4" valign="top" width="160">
			<b>Export palette...</b></td>
            <td bgcolor="#FCFCF4" valign="top" width="800">
      Export the current palette in XML format. 
		<p>
		<img src="images/export_palette_dialog.png" border="0" width="428" height="131"></td>
          	</tr>
			<tr>
            <td align="center" bgcolor="#F2F2E6" valign="top" width="40">
			<img src="images/settings.gif" alt="" width="16" height="16"></td>
            <td bgcolor="#F2F2E6" valign="top" width="160">
			<b>Settings...</b></td>
            <td bgcolor="#F2F2E6" valign="top" width="800">
      The palette entries may be configured to appear in one to five columns. By 
		default, each entry is shown with an icon and class name. Optionally, 
		each entry can be shown with an icon only. Category and entry fonts may 
		also be selected. 
		<p>
		<img src="images/palette_settings.png" border="0" width="394" height="252"></td>
          	</tr>
			</tbody></table>
      


</body></html>
